import request from '@/utils/request'


export function list(data) {
  return request({
    url: '/console/system/list',
    method: 'post',
    data: data
  })
}

//获取系统监控数据
export function nodeSystemInfo(data) {
  return request({
    url: '/console/belfNode/nodeSystemInfo',
    method: 'post',
    data: data
  })
}

//文件同步接口
export function switchRsyncDir(data) {
  return request({
    url: '/console/group/switchRsyncDir',
    method: 'post',
    data: data
  })
}


//同步日志
export function switchRsyncDirLog(data) {
  return request({
    url: '/console/group/switchRsyncDirLog',
    method: 'post',
    data: data
  })
}

